package com.dtstack.rocketmq.domain.response.shopify;

/**
 * OrderResponse
 *
 * <p>
 * </p>
 *
 * @author chuanbai
 * @date 2024/10/24
 */
import java.io.Serializable;
import java.util.Map;

public class Transaction implements Serializable {
    private String authorizationCode;
    private String gateway;
    private String id;
    private boolean manuallyCapturable;
    private Map<String, Object> order;

    // getters and setters


    public String getAuthorizationCode() {
        return authorizationCode;
    }

    public void setAuthorizationCode(String authorizationCode) {
        this.authorizationCode = authorizationCode;
    }

    public String getGateway() {
        return gateway;
    }

    public void setGateway(String gateway) {
        this.gateway = gateway;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isManuallyCapturable() {
        return manuallyCapturable;
    }

    public void setManuallyCapturable(boolean manuallyCapturable) {
        this.manuallyCapturable = manuallyCapturable;
    }

    public Map<String, Object> getOrder() {
        return order;
    }

    public void setOrder(Map<String, Object> order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "Transaction{" +
                "authorizationCode='" + authorizationCode + '\'' +
                ", gateway='" + gateway + '\'' +
                ", id='" + id + '\'' +
                ", manuallyCapturable=" + manuallyCapturable +
                ", order=" + order +
                '}';
    }
}

